package com.dubbo.spi;

import com.dubbo.filter.DubboLogFilter;
import org.apache.dubbo.common.extension.ExtensionLoader;

/**
 * @ Author xsd
 * @ crate time 2020/8/27 10:59
 * @ 描述
 *  zj：dubbo spi 测试
 */
public class DubboTest {
    public static void main(String[] args) {
        ExtensionLoader loader=ExtensionLoader.getExtensionLoader(DubboLogFilter.class);
        DubboLogFilter filter= (DubboLogFilter) loader.getExtension("DubboLogFilter");
        filter.invoke(null,null);
    }
}
